
Component({
  properties: {
    list:{
      type: Array
    }
  },

  methods: {
    onTapGroup: function(e){
      var list = this.data.list;
      var row = list[e.currentTarget.dataset.groupIndex];
      row.expendFlag = !row.expendFlag;
      this.setData({
        list:list
      })
    }
  }
})
